package com.sxfq.loansupermarket.backsystem.modular.theTest.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.sxfq.loansupermarket.backsystem.modular.theTest.entity.AchievementsInfo;
import com.sxfq.loansupermarket.backsystem.modular.theTest.entity.SearchTestQuestionsInfo;
import com.sxfq.loansupermarket.backsystem.modular.theTest.entity.TestQuestionsInfo;

import java.util.List;

public interface ITestQuestionsService {
    /**
     * 分页获取考试数据列表
     *
     * @param page
     * @param searchInfo
     * @return
     */
    List<TestQuestionsInfo> selectPageListByQueryGetMap(Page<TestQuestionsInfo> page, SearchTestQuestionsInfo searchInfo);

    TestQuestionsInfo selectOneById(String testQuestionsInfoId);

    int insert(TestQuestionsInfo info);

    int update(TestQuestionsInfo info);

    void delete(String id);

    List<TestQuestionsInfo> selectTestQuestionsInfo();
}
